﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Skynet.Framework.Common;

namespace AutoRegisterManager
{
    public partial class Frmzhuanjia : Form
    {
        public Frmzhuanjia()
        {
            InitializeComponent();
           
        }

        private void panel2_Paint(object sender, PaintEventArgs e)
        {
            //this.doctorList1.DataBind();
            if (this.top1.AutoClose)
            {
                this.top1.Sec = 120;
                this.top1.timer1.Start();
            }
        }

        private void Frmzhuanjia_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.top1.timer1.Stop();
        }
        //返回首页
        private void label1_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        public void Frmzhuanjia_Load(object sender, EventArgs e)
        {
          
                this.lblName.Text = "Demo";
                this.lblAge.Text = "30";
            
          
           
            this.lblOffice.Text = string.Format(this.lblOffice.Text, this.doctorList1 .officeName );
        }

        private void doctorList1_Paint(object sender, PaintEventArgs e)
        {
            this.top1.Sec = 60;
        }
       
    }
}
